package com.generic;

public class Apple extends Fruits{

	public String toString() {
		
		return String.format("名称：%s；产地：%s;生产商: %s;过期时间:%s", getName(),getAddress(),getMadeIn(),getExpirationTime());
	}
	
	public void test() {
		System.err.println("Apple:test");
	}
	
}
